package com.ebupt.migu.music.api.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/11/20
 */
@Mapper
@DS("mysql_mg")
public interface BannerMapper {

    List<HashMap<String, Object>> queryStrategyInfo(@Param("stypes") List<Byte> stypes);

    /**
     * 查询是否指定名单中的成员
     *
     * @param uid
     * @return
     */
    boolean isRosterMember(@Param("id")String id, @Param("uid")String uid);
}
